.book-box {
    background-color: #777;
    .page-box {
        background-color: #fff;
        width: 1200px;
        margin: 10px auto;
        height: 1600px;
        padding: 50px 30px;
        table {
            width: 100%;
            height: 1500px;
            tr {
                &:first-of-type {
                    height: 80px;
                }
                &:nth-child(2) {
                    height: 160px;
                }
                &:last-of-type {
                    td {
                        vertical-align: top;
                    }
                }
            }
            td {
                width: 8.333%;
                writing-mode: vertical-rl;
            }
        }
    }
}

.family-dialog {
    .dialog-new {
        display: none;
    }
    .dialog-result {
        max-height: 300px;
        overflow-y: auto;
    }
    .family-item {
        line-height: 30px;
        border-bottom: 1px solid #ccc;
        &:hover {
            border: 1px solid red;
        }
        &.active {
            background-color: rgb(185, 243, 230);
        }
    }
}

.clan-item {
    background-color: #fff;
    display: inline-block;
    margin: 5px;
    .cover {
        img {
            width: 100px;
            height: 120px;
        }
    }
    .name {
        line-height: 30px;
        text-align: center;
    }
}